package com.example.demo.business.dao;

import com.example.demo.business.bean.entity.HIndexCategory;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface HIndexCategoryDao extends CrudRepository<HIndexCategory,Integer> {
    List<HIndexCategory> findByTypeOrderBySorts(int type);
}
